package com.joysuch.wwyt.list.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 *   清单业务管理
 * </p>
 *
 * @author xiaoying
 * @since 2021-05-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_bp_list_biz")
@ApiModel(value="BpListBiz对象", description="")
public class BpListBiz extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号，主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "清单编号")
    private String listCode;

    @ApiModelProperty(value = "清单名称")
    private String listName;

    @ApiModelProperty(value = "清单类型ID")
    private Long typeId;

    @ApiModelProperty(value = "清单状态：0=草稿，1=发布")
    private Integer state;

    @ApiModelProperty(value = "清单创建时间")
    private Date listCreateTime;

    @ApiModelProperty(value = "发布时间")
    private Date publishTime;

    @ApiModelProperty(value = "发布内容")
    private String content;

    @ApiModelProperty(value = "发布类型")
    private String publishType;

    @ApiModelProperty(value = "发布对象")
    private String publishObject;

    @ApiModelProperty(value = "发布对象详情")
    private String publishObjectDetail;

    @ApiModelProperty(value = "组织类型")
    private String orgType;

    @ApiModelProperty(value = "附件")
    private String attachments;




}
